package com.mooc.house.biz.service;

import com.google.common.collect.Lists;
import com.mooc.house.common.model.City;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by 敲代码的卡卡罗特
 * on 2018/4/26 21:31.
 */
@Service
public class CityService {
    public List<City> getAllCitys(){
        City city = new City();
        city.setCityCode("110000");
        city.setCityName("北京");
        city.setId(1);
        return Lists.newArrayList(city);
    }
}
